package org.easyspring.aop;

import org.aspectj.weaver.tools.PointcutExpression;
import org.aspectj.weaver.tools.PointcutParser;

import static org.aspectj.weaver.tools.PointcutParser.getAllSupportedPointcutPrimitives;


/**
 * 解析Aspect表达式并且定位被织入的目标
 */
public class PointcutLocator {
    private PointcutParser pointcutParser;
    //表达式解析器
    private PointcutExpression pointcutExpression;

//    public PointcutLocator(PointcutExpression pointcutExpression) {
//        this.pointcutExpression = pointcutExpression;
//        pointcutParser = PointcutParser.getPointcutParserSupportingAllPrimitivesAndUsingContextClassloaderForResolution
//                (PointcutParser.getAllSupportedPointcutPrimitives());
//    }
}
